package itsm.isperp.module.service.wechat.cp;

import itsm.isperp.module.entity.wechat.cp.WechatCpMenu;
import itsm.isperp.module.repository.wechat.cp.WechatCpMenuMapper;
import itsm.isperp.module.service.wechat.WechatMenuService;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * 
 * 
 * 
 * @author lizx
 * @date 2014-5-31
 * @since 1.0
 * 
 */
@Service
public class WechatCpMenuService extends WechatMenuService<WechatCpMenu> {

	@Autowired
	protected WechatCpMenuMapper wechatCpMenuMapper;

	@Override
	public WechatCpMenuMapper getRepository() {
		return wechatCpMenuMapper;
	}

	@Override
	public WechatCpMenu findOneByKey(String menuKey) {
		return this.wechatCpMenuMapper.findOneByKey(menuKey);
	}

}
